package com.xb.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author xbyan
 * @date 2023/7/6 18:12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Result {
    private Integer status;
    private long total;
    private Object data;
    private Object rows;
    private String message;
    public static final Integer RESPONSE_EXCEPTION = 2;
    public static final Integer RESPONSE_SUCCESS = 1;
    public static final Integer RESPONSE_FAIL = 0;

}
